package com.edu.mapper;

import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User selectUserByUsername(String username);

    int insertUser(User user);

    User selectUserByUsernameAndPassword(User user);

    int updateUserHeadImg(@Param("username") String username, @Param("headImg") String headImg);

}
